Method and system for accessing a flash memory device

ABSTRACT

An apparatus, system, and computer-implemented method for controlling data transfer between a plurality of serial data link interfaces and a plurality of memory banks in a semiconductor memory is disclosed. In one example, a flash memory device with multiple links and memory banks, where the links are independent of the banks, is disclosed. The flash memory devices may be cascaded in a daisy-chain configuration using echo signal lines to serially communicate between memory devices. In addition, a virtual multiple link configuration is described wherein a single link is used to emulate multiple links.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/273,122, filed on Sep. 22, 2016, which is a continuation of U.S. patent application Ser. No. 14/964,958, filed on Dec. 10, 2015, now issued as U.S. Pat. No. 9,490,014 on Nov. 8, 2016, which is a continuation of U.S. patent application Ser. No. 13/790,361, filed on Mar. 8, 2013, now issued as U.S. Pat. No. 9,230,654 on Jan. 5, 2016, which is a continuation of U.S. patent application Ser. No. 13/171,667, filed on Jun. 29, 2011, and issued as U.S. Pat. No. 8,743,610 on Jun. 3, 2014, which is a continuation of U.S. patent application Ser. No. 12/732,745, filed Mar. 26, 2010, now issued as U.S. Pat. No. 8,000,144 on Aug. 16, 2011, which is a divisional of U.S. patent application Ser. No. 12/179,835, filed Jul. 25, 2008, and issued as U.S. Pat. No. 7,719,892 on May 18, 2010, which is a continuation of U.S. patent application Ser. No. 11/324,023, filed on Dec. 30, 2005, now issued as U.S. Pat. No. 7,652,922 on Jan. 26, 2010, which claims the benefit of priority from U.S. Provisional Application No. 60/722,368, filed Sep. 30, 2005, which are incorporated herein by reference.

FIELD OF THE INVENTION

The invention relates to semiconductor memory devices. More particularly, the invention relates to a memory architecture for improving the speed and/or capacity of semiconductor Flash memory devices.

BACKGROUND OF THE INVENTION

Mobile electronic devices, such as digital cameras, portable digital assistants, portable audio/video players and mobile terminals continue to require mass storage memory, preferably non-volatile memory with ever increasing capacities and speed capabilities. For example, presently available audio players can have between 256 Mbytes to 40 Gigabytes of memory for storing audio/video data. Non-volatile memory such as Flash memory and hard-disk drives are preferred since data is retained in the absence of power, thus extending battery life.

Presently, hard disk drives have high densities and can store 20 to 40 Gigabytes of data, but are relatively bulky. However, Flash memory, also known as a solid-state drive, is popular because of their high density, non-volatility, and small size relative to hard disk drives. The advent of multi-level cells (MLC) further increases the Flash memory density for a given area relative to single level cells. Those of skill in the art will understand that Flash memory can be configured as NOR Flash or NAND Flash, with NAND Flash having higher density per given area due to its more compact memory array structure. For the purposes of further discussion, references to Flash memory should be understood as being either NOR or NAND type Flash memory.

While existing Flash memory modules operate at speeds sufficient for many current consumer electronic devices, such memory modules likely will not be adequate for use in future devices where high data rates are desired. For example, a mobile multimedia device that records high definition moving pictures is likely to require a memory module with a programming throughput of at least 10 MB/s, which is not obtainable with current Flash memory technology with typical programming data rates of 7 MB/s. Multi-level cell Flash has a much slower rate of 1.5 MB/s due to the multi-step programming sequence required to program the cells.

Programming and read throughput for Flash memory can be directly increased by increasing the operating frequency of the Flash memory. For example, the present operating frequency of about 20-30 MHz can be increased by an order of magnitude to about 200 MHz. While this solution appears to be straightforward, there is a significant problem with signal quality at such high frequencies, which sets a practical limitation on the operating frequency of the Flash memory. In particular, the Flash memory communicates with other components using a set of parallel input/output (I/O) pins, numbering 8 or 16 depending on the desired configuration, which receive command instructions, receive input data and provide output data. This is commonly known as a parallel interface. High speed operation will cause well known communication degrading effects such as cross-talk, signal skew and signal attenuation, for example, which degrades signal quality.

Such parallel interfaces use a large number of pins to read and write data. As the number of input pins and wires increases, so do a number of undesired effects. These effects include inter-symbol interference, signal skew and cross talk. Inter-symbol interference results from the attenuation of signals traveling along a wire and reflections caused when multiple elements are connected to the wire. Signal skew occurs when signals travel along wires having different lengths and/or characteristics and arrive at an end point at different times. Cross talk refers to the unwanted coupling of signals on wires that are in close proximity. Cross talk becomes more of a problem as the operating speed of the memory device increases.

Therefore, there is a need in the art for memory modules, for use in mobile electronic devices, and solid-state drive applications that have increased memory capacities and/or operating speeds while minimizing the number input pins and wires required to access the memory modules.

SUMMARY OF THE INVENTION

The following represents a simplified summary of some embodiments of the invention in order to provide a basic understanding of various aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key or critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some embodiments of the invention in simplified form as a prelude to the more detailed description that is presented below.

In accordance with aspects of the invention, semiconductor memory devices with multiple memory banks and multiple serial data link interfaces are disclosed. In one example, a memory device is comprised of a control module that independently controls data transfer between link interfaces and memory banks. In some examples, the memory banks are non-volatile memory. The control module of the invention communicates with various other modules and circuitry in the memory device. For example, the control module generates control signals that drive many of the other modules.

Methods of implementing concurrent memory operations in semiconductor flash memory devices are also disclosed. A status indicator for each serial data link interface and memory bank are also included. These status indicators are updated when the memory bank is busy (or returns to ready) and when a link interface is busy (or returns to ready). In addition, a virtual multiple link feature permits a memory device with reduced pins to operate with greater throughput than prior art devices.

In accordance with aspects of the invention, a memory system having a plurality of cascaded memory devices is also disclosed. The memory devices can be serially connected, and an external memory controller can receive and provide data and control signals to the memory system. In other embodiments of the invention, computer-executable instructions for implementing the disclosed methods are stored as control logic or computer-readable instructions on computer-readable media, such as an optical or magnetic disk. Various other aspects of the invention are also disclosed throughout the specification.

In accordance with other aspects, a memory device and memory system having a flash memory, read circuitry and an output buffer is disclosed. The read circuitry is configured to obtain read data from said flash memory to facilitate subsequent transmission of the read data. The output buffer is configured to receive the read data and to transmit the read data through an output port in response to an output enable signal. The output enable signal is held at a logic level for a period of time that delineates a length of said data transmitted from the output port. The read data, and in particular, bits of the read data are transmitted or provided from the output port at a predetermined delay after the output enable signal is driven to the logic level.

In accordance with aspects of the invention, a memory device is disclosed. The memory device includes flash memory, read circuitry configured to obtain read data from said flash memory to facilitate subsequent transmission of the read data, and an output buffer configured to receive the read data and to transmit the read data through an output port in response to an output enable signal. The output enable signal is held at a logic level for a period of time that delineates a length of said data transmitted from said output port. The memory device can include a clock input configured to receive a clock signal having edges, and additional circuitry configured to clock out the read data from said output port in tandem with said edges for a duration of time corresponding to the period of time the output enable signal is held at the logic level. The read data transmitted from said output port can include a first data stream and a second data stream, the first data stream being delineated from the second data stream based on a logic level of the output enable signal.

In accordance with other aspects of the invention, a method for providing a data stream is disclosed. The method includes driving an output enable signal to an active state for a period of time, where the period of time substantially corresponds to a number of bits of data to sequentially appear at an output port of a flash memory device, the number of bits being up to a page buffer in size, and transmitting the number of bits of data from the output port for the period of time. The method can include receiving a free-running clock having inactive to active and active to inactive transitions such that one bit of the data from the output port is transmitted on each of the inactive to active transitions of the free-running clock during the period of time. Furthermore, a first bit of the data can be provided within a first clock period while the output enable signal is driven to the active state within the first clock period, and a last bit of the data is provided within a second clock period while the output enable signal is driven to an inactive state within the second clock period. Alternately, a first bit of the data can be provided at a first predetermined delay after the output enable signal is driven to the active state, and a last bit of the data can be provided at a second predetermined delay after the output enable signal is driven to an inactive state.

In accordance with another aspect of the invention, a memory system is disclosed. The memory system includes a controller, a number of memory devices, a clock input, read circuitry, an output buffer, and additional circuitry. Each of the memory devices includes flash memory. The read circuitry is configured to obtain read data from the flash memory to facilitate subsequent transmission of the read data. The output buffer is configured to receive the read data and to transmit the read data through an output port in response to an output enable signal. The output enable signal is held at a logic level for a period of time that delineates a length of said read data transmitted from said output port. The additional circuitry is configured to clock out the read data from said output buffer in tandem with said edges for a duration of time corresponding to the period of time the output enable signal is held at the logic level.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:

FIGS. 1A, 1B, 10 illustrate high level diagrams showing illustrative memory devices that allow for concurrent operations, in accordance with various aspects of the invention.

FIG. 2A is a high-level block diagram of an illustrative memory device in accordance with aspects of the invention.

FIG. 2B is a schematic of a serial data link shown in FIG. 2a , according to an embodiment of the present invention.

FIG. 2C is a schematic of an input serial to parallel register block shown in FIG. 2A, according to an embodiment of the present invention.

FIG. 2D is a schematic of a path switch circuit shown in FIG. 2A, according to an embodiment of the present invention.

FIG. 2E is a schematic of an output parallel to serial register block shown in FIG. 2A, according to an embodiment of the present invention.

FIGS. 3A, 4, 5A, 6A, and 7 illustrate timing diagrams for memory operations performed by a memory device in accordance with various aspects of the invention.

FIGS. 3B, 5B, and 6B are flowcharts illustrating the memory operations of FIGS. 3A, 5A, and 6A, respectively, in a memory device in accordance with various aspects of the invention.

FIGS. 8A, 8B, and 8C illustrate timing diagrams for concurrent memory operations performed in a memory device in accordance with various aspects of the invention.

FIGS. 9 and 10 are flowcharts diagramming a method of controlling data transfer between a plurality of serial data link interfaces and a plurality of memory banks in accordance with various aspects of the invention.

FIG. 11 illustrates a block diagram of the pin-out configuration of a memory device in accordance with various aspects of the invention.

FIG. 12 illustrates a timing diagram for a memory operations performed in a memory device equipped with various aspects of the virtual multiple link feature in accordance with the invention.

FIG. 13 depicts a high-level block diagram of a cascaded configuration of numerous memory devices in accordance with various aspects of the invention.

FIG. 14 illustrates a simplified timing diagram for a memory operation performed on a memory device in a cascaded configuration in accordance with aspects of the invention.

DETAILED DESCRIPTION

A serial data interface for a semiconductor memory having at least two memory banks is disclosed. The serial data interface can include one or more serial data links in communication with centralized control logic, where each serial data link can receive commands and data serially, and can provide output data serially. Each serial data link can access any memory bank in the memory for programming and reading of data. At least one advantage of a serial interface is a low-pin-count device with a standard pin-out that is the same from one density to another, thus, allowing compatible future upgrades to higher densities without board redesign.

FIGS. 1A and 1B are high level diagrams showing illustrative memory devices that support concurrent operations, in accordance with various aspects of the invention. FIG. 1A shows a memory device having multiple serial data link interfaces 102 and 104 and multiple memory banks 106 and 108. The presently shown arrangement is referred to herein as a dual port configuration. Each serial data link interface has an associated input/output pin and data input and data output circuitry, which will be described in further detail with respect to FIG. 2A. Data transferred through a serial data link interface passes through in a serial fashion (e.g., as a single-bit-wide stream of data.) Each of the data link interfaces 102 and 104 in the memory device are independent and can transfer data to and from any of the memory banks 106 and 108. For example, serial data link 102 can transfer data to and from memory bank 106 or memory bank 108. Similarly, serial data link 104 can transfer data to and from memory bank 106 and memory bank 108. Since the two serial data link interfaces shown are independent, they can concurrently transfer data to and from separate memory banks. Link, as used herein, refers to the circuitry that provides a path for, and controls the transfer of, data to and from one or more memory banks. A control module 110 is configurable with commands to control the exchange of data between each serial data link interface 102 and 104 and each memory bank 106 and 108. For example, control module 110 can be configured to allow serial data link interface 102 to read data from memory bank 106 at the same time that serial data link interface 104 is writing data to memory bank 108. This feature provides enhanced flexibility for system design and enhanced device utilization (e.g., bus utilization and core utilization). As will be shown later, control module 110 can include control circuits, registers and switch circuits.

FIG. 1B shows an embodiment in which a single serial data link interface 120 is linked to multiple memory banks 122 and 124 via a control module 126. This presently shown arrangement is referred to herein as a single port configuration, and utilizes less memory device input/output pins than the dual port configuration shown in FIG. 1A. Control module 126 is configured to perform or execute two operating processes or threads, so that serial data link interface 120 can exchange data with memory banks 122 and 124 in a pipelined fashion. For example, while data is being written into memory bank 122, data link interface 120 can be reading data out of memory bank 124. In accordance with various aspects of the invention and as will be described in further detail below, the memory device emulates multiple link operations using a single link configuration with illustrated in FIG. 1B. Using this single link in conjunction with multiple banks configuration, also referred to herein as a virtual multiple link, any available bank can be accessed while the other bank may be in a busy state. As a result, the memory device can achieve enhanced utilization of the single link configuration by accessing the other available bank through link arbitration circuitry.

The memory devices shown in FIGS. 1A and 1B include two memory banks for illustration purposes only. One skilled in the art will appreciate that several aspects of the invention disclosed herein are scalable and allow for the use of multiple memory banks and multiple serial data link interfaces. A single memory device may include, for example, 2, 4, or more memory banks. FIG. 1C shows an embodiment in which four independent serial data links 132, 134, 136 and 138 are configured to exchange data with four memory banks 140, 142, 144 and 146 under the control of a control module 150. With a virtual multiple link configuration only one link is necessary, so the remaining links (e.g., in FIG. 1A dual link or FIG. 1C quad link pinout configurations) are not used and may be considered as NC (i.e., No Connection). At least one advantage of a serial data link interface compared to a conventional parallel interface structure, is the reduced number of pins on the memory device while link flexibility and large density are maintained. For example, while a conventional flash memory device may require 48 pins over multiple sides of a package, a memory device in accordance with aspects of the invention may utilize fewer pins (e.g., 11 pins) on a single side of a standard package 1100, as illustrated in FIG. 11. Alternately, a different and smaller type of package can be used instead, since there are less internal bond pads that are required.

FIG. 2A illustrates a more detailed schematic diagram of the memory device shown in FIG. 1A, according to one embodiment of the present invention. The architecture of each memory bank in the memory device 200 may be the same or similar to a NAND Flash memory core architecture. FIG. 2A illustrates those circuits which are relevant to the invention, and intentionally omits certain circuit blocks to simplify FIG. 2A. For example, memory device 200 implemented with a Flash memory core architecture will include high voltage generator circuits that are necessary for programming and erasing the memory cells. Core architecture (or core circuitry), as used herein, refers to circuitry including memory cell array and associated access circuitry such as decoding and data transfer circuitry. As standard memory architectures are well known, so are the native operations associated with the selected architecture, which should be understood by any person skilled in the art. It should be further understood by those of skill in the art that any known non-volatile or volatile memory architecture can be used in alternative embodiments of the present invention.

Memory device 200 includes a multiplicity of identical memory banks with their respective data, control and addressing circuits, such as memory bank A 202 and memory bank B 204, an address and data path switch circuit 206 connected to both memory banks 202 and 204, and identical interface circuits 205 and 207, associated with each memory bank for providing data to and for receiving data from the switch circuit 206. Memory banks 202 and 204 are preferably non-volatile memory, such as Flash memory, for example. Logically, the signals received and provided by memory bank 202 are designated with the letter “A”, while the signals received and provided by memory bank 204 are designated with the letter “B”. Similarly, the signals received and provided by interface circuit 205 are designated with the number “0”, while the signals received and provided by interface circuit 207 are designated with the number “1”. Each interface circuit 205/207 receives access data in a serial data stream, where the access data can include a command, address information and input data for programming operations, for example. In a read operation, the interface circuit will provide output data as a serial data stream in response to a read command and address data. The memory device 200 further includes global circuits, such as a control interface 208 and status/ID register circuit 210, which provide global signals such as clock signal sclki and reset to the circuits of both memory banks 202 and 204 and the respective interface circuits 205 and 207. A further discussion of the aforementioned circuits now follows.

Memory bank 202 includes well known memory peripheral circuits such as sense amplifier and page buffer circuit block 212 for providing output data DOUT_A and for receiving input program data DIN_A, and row decoder block 214. Those of skill in the art will understand that block 212 will also include column decoder circuits. A control and predecoder circuit block 216 receives address signals and control signals via signal line ADDR_A, and provides predecoded address signals to the row decoders 214 and the sense amplifier and page buffer circuit block 212.

The peripheral circuits for memory bank 204 are identical to those previously described for memory bank 202. The circuits of memory bank B include a sense amplifier and page buffer circuit block 218 for providing output data DOUT_B and for receiving input program data DIN_B, a row decoder block 220, and a control and predecoder circuit block 222. Control and predecoder circuit block 222 receives address signals and control signals via signal line ADDR_B, and provides predecoded address signals to the row decoders 220 and the sense amplifier and page buffer circuit block 222. Each memory bank and its corresponding peripheral circuits can be configured with well known architectures.

In general operation, each memory bank is responsive to a specific command and address, and if necessary, input data. For example, memory bank 202 will provide output data DOUT_A in response to a read command and a read address, and can program input data in response to a program command and a program address. Each memory bank can be responsive to other commands such as an erase command, for example.

In the presently shown embodiment, path switch 206 is a dual port circuit which can operate in one of two modes for passing signals between the memory banks 202 and 204, and the interface circuits 205 and 207. First is a direct transfer mode where the signals of memory bank 202 and interface circuit 205 are passed to each other. Concurrently, the signals of memory bank 204 and interface circuit 207 are passed to each other in the direct transfer mode. Second is a cross-transfer mode where the signals of memory bank 202 and interface circuit 207 are passed to each other. At the same time, the signals of memory bank 204 and interface circuit 205 are passed to each other. A single port configuration of path switch 206 will be discussed later.

As previously mentioned, interface circuits 205 and 207 receive and provide data as serial data streams. This is for reducing the pin-out requirements of the chip as well as to increase the overall signal throughput at high operating frequencies. Since the circuits of memory banks 202 and 204 are typically configured for parallel address and data, converting circuits are required.

Interface circuit 205 includes a serial data link 230, input serial to parallel register block 232, and output parallel to serial register block 234. Serial data link 230 receives serial input data SIP0, an input enable signal IPE0 and an output enable signal OPE0, and provides serial output data SOP0, input enable echo signal IPEQ0 and output enable echo signal OPEQ0. Signal SIP0 (and SIP1) is a serial data stream which can each include address, command and input data. Serial data link 230 provides buffered serial input data SER_IN0 corresponding to SIP0 and receives serial output data SER_OUT0 from output parallel to serial register block 234. The input serial-to-parallel register block 232 receives SER_IN0 and converts it into a parallel set of signals PAR_IN0. The output parallel-to-serial register block 234 receives a parallel set of output data PAR_OUT0 and converts it into the serial output data SER_OUT0, which is subsequently provided as data stream SOP0. Output parallel-to-serial register block 234 can also receive data from status/ID register circuit 210 for outputting the data stored therein instead of the PAR_OUT0 data. Further details of this particular feature will be discussed later. Furthermore, serial data link 230 is configured to accommodate daisy chain cascading of the control signals and data signals with another memory device 200.

Serial interface circuit 207 is identically configured to interface circuit 205, and includes a serial data link 236, input serial-to-parallel register block 240, and output parallel-to-serial register block 238. Serial data link 236 receives serial input data SIP1, an input enable signal IPE1 and an output enable signal OPE1, and provides serial output data SOP1, input enable echo signal IPEQ1 and output enable echo signal OPEQ1. Serial data link 236 provides buffered serial input data SER_IN1 corresponding to SIP1 and receives serial output data SER_OUT1 from output parallel-to-serial register block 238. The input serial-to-parallel register block 238 receives SER_IN1 and converts it into a parallel set of signals PAR_IN1. The output parallel-to-serial register block 240 receives a parallel set of output data PAR_OUT1 and converts it into the serial output data SER_OUT1, which is subsequently provided as data stream SOP1. Output parallel to serial register block 240 can also receive data from status/ID register circuit 210 for outputting the data stored therein instead of the PAR_OUT1 data. As with serial data link 230, serial data link 236 is configured to accommodate daisy chain cascading of the control signals and data signals with another memory device 200.

Control interface 208 includes standard input buffer circuits, and generates internal chip select signal chip_sel, internal clock signal sclki, and internal reset signal reset, corresponding to CS#, SCLK and RST# respectively. While signal chip_sel is used primarily by serial data links 230 and 236, reset and sclki are used by many of the circuits throughout memory device 200.

FIG. 2B is a schematic of serial data link 230, according to an embodiment of the invention. Serial data link 230 includes input buffers 242 for receiving input signals OPE0, IPE0 and SIP0, output drivers 244 for driving signals SOP0, IPEQ0 and OPEQ0, flip-flop circuits 246 for clocking out signals out_en0 and in_en0, inverter 248 and multiplexor (MUX) 250. The input buffers for signals OPE0 and SIP0 are enabled in response to chip_sel, and the output driver for signal SOP0 is enabled in response to an inverted chip_sel via inverter 248. Signal out_en0 enables an output buffer, which is shown later in FIG. 2E and provides signal SER_OUT0. Signal in_en0 enables the input serial to parallel register block 232 to latch SER_IN0 data. Signals in_en0, out_en0 and SER_IN0.

Serial data link 230 includes circuits to enable daisy chain cascading of the memory device 200 with another memory device. More specifically, the serial input data stream SIP0, and enable signals OPE0 and IPE0 can be passed through to the corresponding pins of another memory device through serial data link 230. SER_NO is received by AND logic gate 252 and passed to its corresponding flip-flop 246 when in_en0 is at the active high logic level. Simultaneously, in_en0 at the active high logic level will control MUX 250 to pass Si_next0 to output driver 244. Similarly, IPE0 and OPE0 can be clocked out to IPEQ0 and OPEQ0 through respective flip-flops 246. While serial data link 230 has been described, it is noted that serial data link 240 includes the same components, which are interconnected in the same way as shown for serial data link 230 in FIG. 2B.

FIG. 2C is a schematic of the input serial to parallel register block 232. This block receives the clock signal sclki, the enable signal in_en0 and the input data stream SER_IN0, and converts SER_IN0 into parallel groups of data. In particular, SER_IN0 can be converted to provide a command CMD_0, a column address C_ADD0, a row address R_ADD0 and input data DATA_IN0. The presently disclosed embodiment of the invention preferably operates at a high frequency, such as at 200 MHz for example. At this speed, the serial input data stream can be received at a rate faster than the received command can be decoded. It is for this reason that the serial input data stream is initially buffered in a set of registers. It should be understood that the presently shown schematic also applies to input serial to parallel register block 240, where the only difference lies in the designator of the signal names.

The input serial-to-parallel register block 232 includes an input controller 254 for receiving in_en0 and sclki, a command register 256, a temporary register 258, and a serial data register 260. Since the data structure of the serial input data stream is predetermined, specific numbers of bits of the input data stream can be distributed to the aforementioned registers. For example, the bits corresponding to a command can be stored in the command register 256, the bits corresponding to row and column addresses can be stored in the temporary register 258, and the bits corresponding to input data can be stored in the serial data register 260. The distribution of the bits of the serial input data stream can be controlled by input controller 254, which can include counters for generating the appropriate register enabling control signals after each predetermined number of bits have been received. In other words, each of the three registers can be sequentially enabled to receive and store bits of data of the serial input data stream in accordance with the predetermined data structure of the serial input data stream.

A command interpreter 262 receives a command signal in parallel from command register 256, and generates a decoded command CMD_0. Command interpreter 262 is a standard circuit implemented with interconnected logic gates or firmware, for decoding the received commands. As shown in FIG. 4, CMD_0 can include signals cmd_status and cmd_id. A switch controller 264 receives one or more signals from CMD_0 to control a simple switch circuit 266. Switch circuit 266 receives all the data stored in the temporary register 258 in parallel, and loads one or both of column address register 268 and row/bank register 270 with data in accordance with the decoded command CMD_0. This decoding is preferably done because the temporary register may not always include both column and row/bank address data. For example, a serial input data stream having a block erase command will only use a row address, in which case only the relevant bits stored in the temporary register 258 are loaded into row/bank register 270. The column address register 268 provides parallel signal C_ADD0, the row/bank address register 270 provides parallel signal R_ADD0, and data register 272 provides parallel signal DATA_IN0, for programming operations. Collectively, CMD_0, C_ADD0, R_ADD0 and DATA_IN0 (optional), form the parallel signal PAR_IN0. Bit widths for each of the parallel signals have not been specified, as the desired width is a design parameter which can be customized, or tailored to adhere to a particular standard.

Examples of some of the operations of the memory device 200 for a Flash core architecture implementation are shown in Table 1 below. Table 1 lists possible OP (operation) codes for CMD_0 and corresponding states of the column address (C_ADD0), row/bank address (R_ADD0), and the input data (DATA_IN0).

TABLE 1 Command Set Column Row/Bank Input Data OP Code Address Address (1 Byte to Operation (1 Byte) (2 Bytes) (3 Bytes) 2112 Bytes) Page Read 00h Valid Valid — Random Data Read 05h Valid — — Page Read for Copy 35h — Valid — Target Address 8Fh — Valid — Input for Copy Serial Data Input 80h Valid Valid Valid Random Data Input 85h Valid — Valid Page Program 10h — — — Block Erase 60h — Valid — Read Status 70h — — — Read ID 90h — — — Write Configuration A0h — — Valid Register (1 Byte) Write DN (Device B0h — — — Name) Entry Reset FFh — — — Bank Select 20h — Valid (Bank) —

Furthermore, Table 2 shows the preferred input sequence of the input data stream. The commands, addresses, and data are serially shifted in and out of the memory device 200, starting with the most significant bit. Command sequences start with a one-byte command code (“cmd” in Table 2). Depending on the command, the one-byte command code may be followed by column address bytes (“ca” in Table 2), row address bytes (“ra” in Table 2), bank address bytes (“ba” in Table 2), data bytes (“data” in Table 2), and/or a combination or none.

TABLE 2 Input Sequence in Byte Mode 1^(st) 2^(nd) 3^(rd) 4^(th) 5^(th) 6^(th) 7^(th) 2115^(th) 2118^(th) Operation Byte Byte Byte Byte Byte Byte Byte . . . Byte . . . Byte Page Read cmd ca Ca ba/ra ra ra — — — — — Random Data cmd ca Ca — — — — — — — — Read Page Read for cmd ba/ra Ra ra — — — — — — — Copy Target Address cmd ba/ra Ra ra — — — — — — — Input for Copy Serial Data cmd ca Ca ba/ra ra ra data . . . data . . . data Input Random Data cmd ca Ca data data data data . . . data — — Input Page Program cmd — — — — — — — — — — Block Erase cmd ba/ra Ra ra — — — — — — — Read Status cmd — — — — — — — — — — Read ID cmd — — — — — — — — — — Write cmd data — — — — — — — — — Configuration Register Write DN Entry cmd — — — — — — — — — — Reset cmd — — — — — — — — — — Bank Select cmd ba — — — — — — — — —

FIG. 2D is a schematic of path switch 206 shown in FIG. 2A. Switch 206 is logically divided into two switch sub-circuits 274 and 276, which are identically configured. Switch sub-circuit 274 includes four input multiplexors 278 that selectively pass the commands, addresses and input data of either interface circuit 205 or interface circuit 207 to the circuits of memory bank 202. These signals have been previously grouped in FIG. 2C as PAR_IN0 by example. Switch sub-circuit 274 includes one output multiplexor 280 for selectively passing the output data from either memory bank 202 or memory bank 204 to interface circuit 205. Switch sub-circuit 276 includes four input multiplexors (not shown) that selectively pass the commands, addresses and input data of either interface circuit 205 or interface circuit 207 to the circuits of memory bank 204. Switch sub-circuit 276 includes one output multiplexor (not shown) for selectively passing the output data from either memory bank 202 or memory bank 204 to interface circuit 207.

Both switch sub-circuits 274 and 276 can simultaneously operate in the direct transfer mode or the cross-transfer mode, depending on the state of switch control signal SW_CONT. Path switch circuit 206 is presently shown in a dual port configuration, meaning that both memory banks 202 and 204 can be simultaneously accessed through either interface circuits 205 and 207.

According to another embodiment of the present invention, as previously illustrated in FIG. 1B, path switch 206 can operate in a single port mode in which only one of interface circuits 205 and 207 is active. This configuration can further reduce the pin-out area requirements of the memory device 200 since the input/output pads associated with the unused interface circuit are no longer required. In the single port configuration, switch sub-circuits 274 and 276 are set to operate in the direct transfer mode only, with the exception of the respective output multiplexors 280 which can remain responsive to the SW_CONT selection signal.

In a single port embodiment where only interface circuit 205 is active, a supplemental path switch (not shown) is included in the input parallel to serial register block 232 (or block 234), for selectively passing the data from the outputs of switch 266 and serial data register 260 to the corresponding column, row/bank and data registers of either input serial to parallel register block 232 or 240. Effectively, the supplemental path switch can be similar to switch 206. Hence, the column, row/bank and data registers of both input serial to parallel register blocks 232 and 240 can be loaded with data for alternate memory bank accesses, or for substantially concurrent accesses.

FIG. 2E is a schematic of output parallel-to-serial register block 234. It is noted that output parallel-to-serial register block 238 is identically configured. Output parallel-to-serial register block 234 provides either data accessed from the memory bank, or status data previously stored in registers. More specifically, the user or system can request a status of either serial data links 230 or 236. A value of ‘1’ in a designated bit location (e.g., bit 4) in the outputted status data can indicate that the particular serial data link interface is busy. The fixed data can further include chip identification data, which with the status data, can both be pre-loaded with default states upon power up of the memory device 200. The status data can be configured to have any preselected bit pattern that is recognizable by the system. Although not shown, FIG. 2E can include additional control circuitry for updating one or more bits stored in register 284, based on one or more predetermined conditions. For example, one or more status bits can be changed based on a count of elapsed clock cycles, or based on a combination of one or more flag signals received from various circuit blocks of memory device 200.

Output parallel to serial register block 234 includes a first parallel-to-serial register 282 for receiving output data PAR_OUTO from path switch 206, a second parallel-to-serial register 284 for receiving fixed data from a multiplexor 286. Multiplexor 286 selectively passes one of the status data stored in status register 288 or chip identification data stored in ID register 290 in response to signal cmd_id. An output multiplexor 292 passes the data from either the first parallel-to-serial register 282 or the second parallel-to-serial register 284 in response to either cmd_id or cmd_status being active, via OR gate 294. Finally, a serial output control circuit 296 enabled by out_en0 provides SER_OUT0.

One skilled in the art will appreciate that the size and location of the status indicator may be altered in accordance with various aspects of the invention. For example, the serial data link interface status indicator may be joined with other types of status indicator (e.g., memory bank status indicator) and/or physically located outside the register block (e.g., in the link arbitration module or in the control module 238). In another example, the serial data link interface status indicator is a one-bit register.

FIGS. 3A, 4, 5A, 6A, and 7 illustrate example timing diagrams for some memory operations performed by memory device 200 in accordance with various aspects of the invention. Some memory commands performed by the memory device 200 include, but are not limited to, page read, random data read, page read for copy, target address input for copy, serial data input, random data input, page program, block erase, read status, read ID, write configuration register, write device name entry, reset, and/or bank select. The following discussion of the timing diagrams is made with reference to the previously described embodiments of the memory device 200 shown in the previous figures, and Tables 1 and 2.

In the example depicted in the timing diagram of FIG. 3A, a “page read” memory command 314 is received at serial data link 230 of a memory device 200 in accordance with the invention. Moreover, FIG. 3B shows a simplified flowchart paralleling the operation of the “page read” memory command 314 in the timing diagram of FIG. 3A. As a practical matter, the steps illustrated in FIG. 3B will be discussed in conjunction with the timing diagram of FIG. 3A. By way of example, in step 324, a “page read” memory command 314 is read in at serial data link 230 of the memory device 200.

The incoming data stream in this example is a six-byte serial data stream (i.e., serial input data) including command data (in the first byte), column address data (in the second and third bytes), and row and bank address data (in the fourth, fifth, and sixth bytes). The bank address can be used to determine access to either bank 202 or 204 via patch switch 206. One skilled in the art will understand that different memory commands may have a different data stream. For example, a “random data read” memory command has a predetermined data stream of only three bytes: command data (in the first byte) and column address data (in the second and third bytes). In the latter example, the address field of the serial input data only contained column address data and was two bytes long. Meanwhile, in the former example, the address field was five bytes long. One skilled in the art will appreciate after review of the entirety disclosed herein that numerous memory commands and predetermined data streams are apparent in accordance with various aspects of the invention.

Continuing with the example involving the “page read” memory command as illustrated in FIG. 3a , in response to the chip select (CS#) signal 302 going low and the input port enable (IPEx) signal 306 going high, the serial input (SIPx) port 308 is sampled on the first falling edge of the serial clock (SCLK) signal 304 (where ‘x’ acts as a placeholder representing the link interface number, e.g., link 0 interface 232 or link 1 interface 234). The data read out (in step 328) is a data stream corresponding to a “page read” memory command 314. The CS# signal 302 is an input into the memory device 200 and may be used, among other things, to indicate whether the memory device 200 is active (e.g., when CS# is low) or whether the memory device's serial outputs are at high impedance (e.g., when CS# is high). The IPEx signal 306 indicates whether an incoming data stream will be received at a particular link interface (e.g., when IPEx is high) or whether a particular link interface will ignore the incoming data stream (e.g., when IPEx is low). The incoming data stream is received at the memory device at the SIPx 308 of a link interface. Finally, the system clock (SCLK) signal 304 is an input into the memory device 200 and is used to synchronize the various operations performed by the numerous circuits of the memory device 200. It will be apparent to one skilled in the art that a memory device in accordance with various aspects of the invention may be synchronized with such a clock signal (e.g., operations and data transfers occur at the rising and/or falling edge of the clock signal) or may be asynchronous (i.e., not synchronous). In the example of FIG. 3A, however, input data is latched on the falling edge of SCLK and output data 322 appears on the serial output pin 312 SPOx after the rising edge of SCLK. The status of the “page read” can be checked on the SPOx pin 312 as shown in FIG. 3A, whereby a “bank busy” result will be provided on SPOx until a time 318 when a “ready” indication will appear, and the output data will shortly appear during a time 322. It should be noted that although FIG. 3A illustrates a “page read” with subsequent “read status”, a “page read” without a “read status” is also contemplated in accordance with aspects of the invention. In that embodiment, no data would be provided on the SPOx pin until output data would be ready.

The command data sampled by SIPx 308 is written to the appropriate register (e.g., command register 256) in FIG. 2C. At least one benefit to the option of designing the incoming data stream such that the first byte is command data is that the data can be transferred to the command register without additional processing. Subsequent bytes in the data stream may be address data and/or input data according to the type of memory command. One skilled in the art will appreciate that the set of memory commands recognized by a memory device in accordance with various aspects of the invention may be defined by word-basis (i.e., 16 bits) or any I/O width. In FIG. 3A, the command data (i.e., 00h corresponding to “page read” 314) is followed by five bytes of address data: two bytes of column address data and three bytes of row/bank address data. The address data is written to an address register 258 in FIG. 2C. The address data is used to locate the data stored in the memory bank 202 that is to be read. The pre-decoder circuit 216, column decoder in circuit 212, and row decoder 214, are utilized during this process to select the data to be read. For example, the pre-decoder module 214 is used to pre-decode the address information. Subsequently, the column decoder in circuit 212 and row decoder 214 are used to activate the bitline and wordline corresponding to the address data. In the case of a “page read” command, multiple bitlines are activated corresponding to a wordline. Subsequently, the data stored in the memory bank 202 is transferred to a page register in circuit 212 after being sensed by sense amplifiers. The data in the page register may not be available until time 318 in FIG. 3A, i.e. the output pin SPOx will indicate “busy”. The amount of time lapsed is referred to as the transfer time (t_(R)). The transfer time period ends at time 318 (in FIG. 3A) and lasts for a duration of t_(R).

Before the transfer time period elapses, a memory bank status indicator is set to indicate that the particular memory bank (e.g., memory bank 202) is “busy”. The illustrative memory bank status indicator of FIG. 3A is a 1-byte field with one of the bits (e.g., bit 4) indicating whether memory bank 202 (i.e., bank 0) is “busy” or “ready”. The memory bank status indicator is stored in a status register 288 of FIG. 2E. The memory bank status indicator is updated (e.g., bit 4 is set to ‘0’) after a memory bank has been identified from the incoming data stream. Once the memory operation is complete, the bank status indicator is updated (e.g., bit 4 is set to ‘1’) to indicate that the memory bank is no longer “busy” (i.e., “ready”). Note that both the bank status indicator as well as the SPOx output pin will indicate the “busy” status as will be explained in further detail below. One of skill in the art will appreciate that although the memory bank status indicator is depicted in FIG. 3A as a 1-byte field, its size is not necessarily so limited. At least one benefit of a larger status indicator is the ability to monitor the status of a greater quantity of memory banks. In addition, the status indicator may be used to monitor other types of status (e.g., whether the memory bank is in a “pass” or “fail” status after a memory operation, such as a “page program”, was performed). In addition, it will be apparent to one skilled in the art that the status indicator of this example being implemented such that each bit designates the status of a different memory bank is exemplary only. For example, the value of a combination of bits may be used to indicate the status of a memory bank (e.g., by using logic gates and other circuitry). The operation of the “read status” command corresponding to the memory bank status indicator is discussed in relation to FIG. 7 below.

The memory bank status indicator in the example of FIG. 3A is read using the “read status” memory command 316 (in step 328). Sometime during the transfer time period, a “read status” command 316 is sent to the command register in the register block 224. The “read status” command instructs the memory device 200 to monitor the status of the memory bank 202 to determine when the transfer of data from the memory bank 202 to a page register 216 is complete. The “read status” command is sent from the control module 238 through the data path control module 230 or directly by the data path control module 230. Once the “read status” command has been issued (e.g., sent to a command interpreter 228 and/or control module 238) the output port enable (OPEx) signal 310 is driven high and the contents of the memory bank status indicator are outputted through the serial output (SOPx) port 312. Similar to the IPEx signal 306, the OPEx signal 310 enables the serial output port buffer (e.g., the data output register) when set to high. At time 318 in FIG. 3A, the status indicator data in the SOPx indicates that the memory bank 202 has changed (in step 330) from a “busy” status to a “ready” status. The OPEx signal 310 is returned to low since the content of the status indicator is no longer needed.

Next in FIG. 3A, the IPEx signal is set high, and a “page read” command 320 with no trailing address data is re-issued (in step 332) to the command register in the register block 224 in order to provide data from the data registers to the output pin SPOx. Subsequently, the OPEx signal is set high (and IPEx is returned to low), and the contents of the page register 216 are transferred to the SOPx 312. The output data is provided (in step 334) through the link interface 230 out of memory device 200. Error correction circuitry (not shown in the Figures) can check the output data and indicate a read error if an error is detected. Those skilled in the art will understand that the monitoring of the status and re-assertion of the page read command can be automatically done by the system. FIG. 3A is merely one example of memory device operation in accordance with aspects of the invention, and the invention is not so limited. For example, other memory commands and timing diagrams are envisioned in accordance with various aspects of the invention.

For example, in FIG. 4, a simplified timing diagram for the “random data read” command following a “page read” command is illustrated. The “random data read” command enables the reading of additional data at a single or multiple column addresses subsequent to a “page read” command or a “random data read” command. The data stream for a “random data read” command 402 is comprised of three bytes: command data (in the first byte) and column address data (in the second and third bytes). No row address data is required since data will be read from the same row selected in the “page read” command. A “random data read” command issued after a normal “page read” command has completed results in some of the data 404 from the current page (i.e., the page read during the earlier command) being outputted. At least one benefit to the “random data read” command is the increased efficiency with which data from the preselected page may be outputted since the data is already present in a page register of circuit 212 corresponding to the memory bank 202.

Regarding FIG. 5A, a timing diagram for the “page program” command is illustrated. Since the embodiment illustrated in FIG. 2A utilizes a serial data input and output link structure, prior to beginning to program a page, the program data must first be loaded into a bank page register. This is accomplished with the “serial data input command”. The “serial data input” command 502 is comprised of a serial data loading period during which up to a page (e.g., 2,112 bytes) of data is loaded into the page buffer in circuit 212. After the process of loading the data register is complete, a “page start” command 504 is issued to transfer the data from the bank register into the appropriate memory bank. Once command 504 is issued, the internal write state machine executes an appropriate algorithm and controls timing to program and verify the operation. Therefore, according to an embodiment of the invention, a “page start” command is divided into two steps: serial data input and verification. Upon successful completion of a “page program” command, the memory bank status indicator will provide a “pass” (as opposed to a “fail”) result to indicate a successful operation. In other respects, the timing diagram and steps involving in the example of FIG. 5A are similar to those of FIG. 3A, which was previously described in greater detail.

Moreover, FIG. 5B shows a simplified flowchart paralleling the operation of the “page program” command in the timing diagram of FIG. 5A. In step 506, the “serial data input” command 502 is input to the serial input port (SIP) line. The data stream input to the SIP line in this example is a multi-byte serial data stream (i.e., serial input data) beginning with the command data (in the first byte). Next, the column address data (in the second and third bytes of the serial data stream) and row address/bank data (in the fourth, fifth, and sixth bytes of the serial data stream) are input (in step 508) to the SIP line. Then, the input data is input (in step 510) to the SIP line in the subsequent bytes of the serial data stream. In step 512, a “program start” command 504 is issued. Next, to monitor the status of the operation, a “read status” command is written to the SIP line (in step 514). This results in the memory device monitoring the status bits of the memory bank status register. Once the status bits indicate that the memory bank is ready (in step 516) and that the memory bank indicates a “pass” (in step 518), then the “page program” memory command has been successfully performed.

In addition, the “page read for copy” and “target address input for copy” memory commands are others operations performed by a memory device in accordance with aspects of the invention. If the “page read for copy” command is written to the command register of a serial link interface, then the internal source address (in 3 bytes) of the memory location is written. Once the source address is inputted, the memory device transfers the contents of the memory bank at the specified source address into a data register. Subsequently, the “target address input for copy” memory command (with a 3-byte bank/row address sequence) is used to specify a target memory address for the page copy operation. A “page program” command may then be used to cause the internal control logic to automatically write the page data to the target address. A “read status” command can be subsequently used to confirm the successful execution of the command. Other memory operations will be apparent to one skilled in the art after review of the entire disclosure herein.

Regarding FIG. 6A, a timing diagram for the “erase” (or “block erase”) command is illustrated. In addition, FIG. 6B shows a simplified flowchart paralleling the operation of the “erase” command in the timing diagram of FIG. 6A. One skilled in the art is aware that erasing typically occurs at the block level. For example, a Flash memory device 200 can have, at each bank, 2,048 erasable blocks organized as 64 2,112-byte (2,048+64 bytes) pages per block. Each block is 132K bytes (128K+4K bytes). The “erase” command operates on one block at a time. Block erasing is started by writing command data 602 at step 610 corresponding to the “erase” command (i.e., command data of ‘60 h’) to the command register via SIPx along with three bytes for row and bank addresses at step 612. After the command and address input are completed, the internal erase state machine automatically executes the proper algorithm and controls all the necessary timing to erase and verify the operation. Note that the “erase” operation may be executed by writing or programming a logic value of ‘1’ to every memory location in a block of memory. In order to monitor the erase status to determine when the t_(BERS) (i.e., block erase time) is completed, the “read status” command 604 (e.g., command data corresponding 70h) may be issued at step 614. After a “read status” command, all read cycles will be from the memory bank status register until a new command is given. In this example, the appropriate bit (e.g., bit 4) of the memory bank status register reflects the state (e.g., busy or ready) of the corresponding memory bank. When the bank becomes ready at step 618, the appropriate bit (e.g., bit 0) of the memory bank status register is checked at step 620 to determine if the erase operation passed (i.e., successfully performed) at step 622 or failed at step 624. In some respects, the timing diagram and steps involving in the example of FIG. 6A are similar to those of FIG. 3A, which was previously described in greater detail.

Regarding FIG. 7, the memory bank status indicator is read using the “read status” memory command. When a “read status” command (i.e., ‘70h’) is sent at 702 to the command register 256 in FIG. 2C, the memory device 200 is instructed to monitor the status of the memory bank 202 to, among other things, determine when the transfer of data from the memory bank 202 to the page buffer in circuit 212 is successfully completed. Once the “read status” command has been issued (e.g., sent to a command interpreter 262) the output port enable (OPEx) signal is driven high and the contents of the memory bank status indicator are outputted at 704 through the serial output (SOPx) port. The OPEx signal enables the serial output port buffer (e.g., the data output register) when set to high. In the example of FIG. 7, the memory bank status indicator is a 1-byte (i.e., 8-bit) field with each bit indicating, among other things, whether a memory bank (e.g., memory bank 202) is “busy” or “ready” and/or whether a operation performed on a memory bank (e.g., “erase” command) is has “passed” or “failed”. One of skill in the art will appreciate that although the memory bank status indicator is depicted in FIG. 7 as a 1-byte field, its size is not necessarily so limited. At least one benefit of a larger status indicator is the ability to monitor the status of a greater quantity of memory banks. In addition, it will be apparent to one skilled in the art that although the status indicator of this example was implemented such that each bit designated the status of a different memory bank, the invention is not so limited. For example, the value of a combination of bits may be used to indicate the status of a memory bank (e.g., by using logic gates and other circuitry).

FIGS. 8A, 8B, and 8C, illustrate timing diagrams for a memory device in accordance with aspects of the invention being used to perform concurrent operations using dual independent serial data links 230 and 236. Some concurrent operations performed by a memory device in accordance with aspects of the invention include, but are not limited to, concurrent read, concurrent program, concurrent erase, read while program, read while erase, and program while erase. FIG. 8A illustrates a concurrent “page read” operation being performed on bank A (bank 202) and bank B (bank 204). In FIG. 8A, bank A is represented as “bank 0” while bank B is represented as “bank 1”. FIG. 8B. Other concurrent operations will become apparent to one skilled in the art upon review of the entire disclosure herein.

Referring to FIG. 8A, concurrent “page read” operations 802, 804 directed at different memory banks in a memory device 200 are executed. In a memory device 200 with dual data link interfaces 230, 236 a “page read” command 804 is issued through data link interface 236 (i.e., link 1) while a “page read” 802 is pending through data link interface 230 (i.e., link 0). Although FIG. 8A shows the “page read” on bank 0 starting before the “page read” on bank 1, the two “page read” operations can begin substantially simultaneously and operate concurrently. The outputted data 806, 808 from each of the “page read” commands is simultaneously sent through their respective data link interfaces. Therefore, each data link interface in memory device 200 may access any of the memory banks and operate independently. At least one benefit of this feature is greater flexibility in system design and an enhancement on device utilization (e.g., bus utilization and core utilization).

The path of the outputted data from the memory bank to the data link interface in FIG. 8A is similar to that of FIG. 3A discussed earlier. For example, the outputted data from memory bank 204 flows from S/A and page buffer 218 through path switch 206 controlled by a bank address for example, to output parallel-to-serial register block 240, and to serial data link interface 236 (i.e., link 1). The simultaneous data transfer between memory banks 202 and 204 and serial data link interfaces 230, 236, respectively, will occur independently of each other. As the bank address can control path switch 206, serial data link interface 236 can access bank 202 instead. The number of data link interfaces in memory device 200 is not limited to the number of ports or pins on memory device 200. Nor is the number of link interfaces in memory device 200 limited by the number of memory banks in the memory device. For example, each data link interface may process a single input stream and/or a single output stream.

Furthermore, in accordance with various aspects of the invention, FIG. 8B illustrates a timing diagram of a “page read” command 810 and a “page program” command 812 directed at different memory banks in a memory device 200 being performed concurrently. In this example, a read operation (“page read” 810) is being performed in one of the plurality of memory banks (e.g., memory bank 202) through serial data link interface 230. Meanwhile, simultaneously, a write operation (“page program” 812) is being performed in another of the plurality of memory banks (e.g., memory bank 204) through serial data link interface 236. In accordance with various aspects of the invention, each link in the memory device 200 may access any of the memory banks and operate independently.

FIG. 8C is an illustrative timing diagram of a memory device 200 with two serial data link interfaces and two memory banks performing concurrent memory operations. First, an “erase” command 814 directed at memory bank 0 (bank 202) is issued from serial interface link 0 (serial data link 230). While link 0 (serial data link 230) and memory bank 0 (bank 202) are busy with the “erase” command 814, a “page program” command is received at the memory device and directed to use link 1 (serial data link 236). Thus, a “page program” command 816 is performed on memory bank 0 (bank 202) from serial data link interface 1 (serial data link 236). Meanwhile, simultaneously, a read command 818 is performed on memory bank 1 (bank 204) by serial data interface 0 (serial data link 230). Data is transferred between serial data link interface 0 (serial data link 230) and bank 0 (bank 202) during memory command 814 and between the same link interface 0 (serial data link 230) and bank 1 (bank 204) during memory command 818. Therefore, in accordance with aspects of the invention, each link in the memory device 200 independently accesses any of the memory banks (i.e., memory banks that are not busy).

It will be apparent to one skilled in the art, after review of the entirety disclosed herein, that FIGS. 8A, 8B, and 8C illustrate merely some examples of concurrent memory operations envisioned in accordance with the invention. Other examples of concurrent operations include, but are not limited to, concurrent erase, read while program, read while erase, program while erase, erase while program, and/or concurrent program. One skilled in the art will recognize that the depiction of the order of the steps in the flowchart should not be construed to limit the steps to only that particular order. For example, read and program commands can be issued with or without read status commands.

FIG. 9 shows a more general description of two concurrent write operations between a plurality of serial link interfaces and a plurality of memory banks in accordance with aspects of the invention. FIG. 9 illustrates a method of writing data via a serial data link interface to a memory bank in accordance with an embodiment of the invention. First, in step 902 a data stream is received at a serial data link interface. The data stream contains command, address and data that will be stored in registers. Next, in step 904 a serial data link interface status indicator corresponding to the first serial data link interface is updated to indicate that the first serial data link interface is being utilized. Step 904 includes changing a bit value in the status register. The update in step 904 indicates that the particular interface is being utilized. In step 906, the data stream is parsed to extract a first memory bank identifier. The memory bank identifier uniquely identifies a memory bank in the memory device. The memory bank identifier may be included within an address field or other field of the data stream. Next, after parsing the data stream to extract a memory bank identifier, in step 908 a corresponding memory bank status indicator is updated. The updating occurring in steps 904 and 908 can be driven by control signals generated by control circuits within status/ID register 210 for example. These control signals have been omitted from the included timing diagrams for simplicity. Finally, in step 910 the data is routed between the first serial data link and the first memory bank. It should be noted that step 910 has been simplified in this general description, since data is first written to a memory bank page register and then subsequently programmed into the memory bank.

Meanwhile, another write data operation is performed on a different memory bank via a different serial data link interface concurrently with the operation 902 shown. In other words, a second memory operation is concurrently performed using a second data stream that is routed between a second serial data link interface and a second memory bank. First a second data stream is received at a second one of the plurality of serial data link interfaces in step 912. The serial data link interfaces referred to in steps 912 and 902 are all part of the same memory device. In step 914 a serial data link interface status indicator corresponding to the second data link interface is updated to indicate that the second serial data link interface is being utilized. Next, the second data stream is parsed to extract a second memory bank identifier in step 916. A memory bank status indicator corresponding to the second memory bank identifier is updated to indicate that the second memory bank is being utilized in step 918 and in step 920 data is routed between the second serial data link interface and the second memory bank via the second memory bank's associated page register, as previously described in relation to the “page program” command. In FIG. 9, once the transfer of data has taken place, i.e., the serial data link interface has received all the data to be written into the designated memory bank, the serial data link interface indicator corresponding to each serial data link interface will be reset to indicate that the associated link is now available, while the memory bank indicator will remain busy until all associated data has been programmed, after which the memory bank indicator will indicate that the associated bank has become available.

FIG. 10 comprises illustrative steps that may be performed when data is read from a memory bank concurrently with the writing of data shown in steps 902 to 910 in FIG. 9 (designated as steps 1010). FIG. 10 illustrates an example of some of the steps that may be performed in completing the concurrent memory operations diagrammed in FIG. 7. First in step 1002, a read request for data stored in a second memory bank is received from a second one of the plurality of serial data link interfaces. In step 1004, a serial data link interface status indicator corresponding to the second data link interface is updated to indicate that the second serial data link interface is being utilized. A memory bank status indicator corresponding to the second memory bank identifier is updated to indicate that the second memory bank is being utilized in step 1006. Finally, in step 1008 data is routed between the second memory bank and the second serial data link interface. One or more of the steps shown in FIG. 10 may be performed concurrently.

Returning to FIG. 1B, the memory device shown includes a single data link interface 120 configuration that uses a virtual multiple link. FIG. 1B can be implemented with the configuration of the input serial to parallel register 232 that has been previously described. More generally, the embodiment of FIG. 1B can be implemented with the memory device 200, but with only one of the two serial data links being used. In conventional flash memory, I/O pins are occupied until an operation is complete. Therefore, no operation can be asserted during device busy status, which reduces device availability and decreases overall performance. In the example depicted in FIG. 1B, any available memory bank checked by a “read status” operation can be accessed after an operation has been initiated in one of the two memory banks. Subsequently, the memory device can utilize the serial data link to access available memory banks through the supplemental switch circuit. Therefore, in accordance with this aspect of the invention, a single link may be used to access multiple memory banks. This virtual multiple link configuration emulates multiple link operations using a single link.

FIG. 12 illustrates a timing diagram of a memory device with two memory banks performing memory operations using a virtual multiple link configuration in which a “page program” in bank 0 and a “page read” in bank 1 are to be executed. First, a “page program” command 1202 directed at memory bank 0 is issued. The “page program” command has already been described earlier, but to recap, the “serial data input” command is first performed to load into the bank 0 page register the data to be programmed to bank 0. Subsequently, a “page program command is issued and the data is written from the page register into bank 0. When a “read status” command 1204 is issued device, the device indicates 1206 that bank 1 is “ready” (and that bank 0 is “busy”). Consequently, based on the virtual multiple link configuration in accordance with the invention, a “page read” command 1208 directed at memory bank 1 can be and is issued while memory bank 0 is busy. The “page read” command has been previously described. A “read status” command 1210 can be (and in FIG. 12 is shown to be) issued to determine the status of the memory banks. The result of the “read status” command indicates during interval 1212 that both memory bank 0 and memory bank 1 are ready. Finally, a “page read” command 1214 (for bank 1) is issued that results in the contents of the memory address corresponding to the bank 1 “page read” command to be outputted on the serial output pin (SOP). Note that while the “page program” operation on bank 0 is taking place, the serial data interface link pin SIP is available to receive the “read status” command which identifies bank 1 as “ready”. Similarly, once the “page read” command on bank 1 has been initiated, the SIP pin is again available for a “read status” command, indicating that both banks 0 and 1 are now ready. As a result, the single serial data interface link can be used to access and check the status of both banks. Aspects of the virtual multiple link feature implemented in FIG. 12 illustrate that the link is available even while an earlier memory operation is pending. At least one benefit arising from this feature is the reduced pin count resulting from the virtual multiple link configuration. Another benefit is the increased performance of the memory device.

In addition, when aspects of the virtual multiple link feature are implemented with memory devices with dual or quad-link configurations, it may be desirable to consider all but one of the links as being inactive. For example, three of the four links in a quad-link configuration (in FIG. 1C) may not be used and may be designated as NC (no connection). At least one benefit of such an implementation is a reduction in the number of pins on the memory device while maintaining link flexibility and availability.

In accordance with various aspects of the invention, FIG. 13 illustrates a daisy-chain cascade configuration 1300 for serially connecting multiple memory devices 200. In particular, Device 0 is comprised of a plurality of data input ports (SIP0, SIP1), a plurality of data output ports (SOP0, SOP1), a plurality of control input ports (IPE0, IPE1), and a plurality of control output ports (OPE0, OPE1). These data and control signals are sent to the memory device 1300 from an external source (e.g., memory controller (not shown)). Moreover, in accordance with the invention, a second flash memory device (Device 1) may be comprised of the same types of ports as Device 0. Device 1 may be serially connected to Device 0. For example, Device 1 can receive data and control signals from Device 0. One or more additional devices may also be serially connected alongside Device 0 and Device 1 in a similar manner. The final device (e.g., Device 3) in the cascade configuration provides data and control signals back to the memory controller after a predetermined latency. Each memory device 200 (e.g., device 0, 1, 2, 3) outputs an echo (IPEQ0, IPEQ1, OPEQ0, OPEQ1) of IPE0, IPE1, OPE0, and OPE1 (i.e., control output ports) to the subsequent device. The previously described circuits in FIG. 2B illustrate how the signals can be passed from one device to a subsequent daisy chained device. In addition, a single clock signal is communicated to each of the plurality of serially connected memory devices.

In the aforementioned cascade configuration, device operations of the cascaded memory device 1300 are the same as in a non-cascaded memory device 200. One skilled in the art will recognize that the overall latency of the memory device 1300 may be increased in a cascade configuration. For example, FIG. 14 depicts a highly-simplified timing diagram for a “page read” memory command 1402 received at memory device 1300 and directed at a memory bank in Device 2 in memory device 1300. The memory command is received at memory device 1300 and sent through Device 0 and Device 1 to Device 2. For example, the data stream corresponding to the “page read” command 1402 will be transferred from the SIP0 line of Device 0 in memory device 1300 through the circuitry of Device 0 and outputted at the SOP0 line of Device 0. The output of Device 0 is reflected in the simplified timing diagram in FIG. 14 on the SOPx_D0 output line at 1404. “SOPx_D0” corresponds to serial output port 0 on Device 0. Similarly, the data stream is subsequently received at SIPx_D1 on Device 1 (at 1406) and sent through Device 1 to be outputted by Device 1 on the SOPx_D1 line at 1408. Next, the data stream is received at SIPx_D2 on Device 2 at 1410. In this example, since the “page read” command is directed to a memory bank in Device 2, in a manner similar to that described for the circuitry in memory device 200, the circuitry in Device 2 receives the “page read” command and controls the transfer of the requested data from a memory bank in Device 2 to the SOPx_D2 output line on Device 2 at 1412. The data outputted by Device 2 is received at Device 3 at 1414 and transferred through Device 3 and outputted from memory device 1300. One skilled in the art will recognize from the simplified timing diagram of FIG. 14 that a predetermined latency of four clock cycles resulted due to the cascading configuration.

Meanwhile, the cascade configuration allows a virtually unlimited number of devices to be connected without sacrificing device throughput. Aspects of the invention may be beneficial in the implementation of multi-chip package solutions and solid state mass storage applications. The incoming data stream in a cascaded device 1300 is similar to that of a non-cascaded memory device 200, however, the first byte of the data stream may be preceded by a one-byte device identifier. For example, a value of “0000” in the first byte may indicate Device 0, while a value of “0001” may indicate Device 1. One skilled in the art will understand that the device identifier need not necessarily be limited to one byte, but may be increased or decreased as desired. Also, the device identifier need not necessarily be positioned as the first byte in a data stream. For example, the size of the identifier may be increased to accommodate more devices in a cascaded configuration and be positioned with the address field of the data stream.

In one embodiment in accordance with the invention, the memory device 200 uses a single monolithic 4 Gb chip. In another embodiment, the memory device uses a pair of stacked chips for 8 Gb. In yet another embodiment, the memory device 1300 uses a stack of four chips to make up 16 Gb. A flash memory device in accordance with various aspects of the invention may be an improved solution for large nonvolatile storage applications such as solid state file storage and other portable applications desiring non-volatility. The memory device 1300 may benefit from a novel flash device cascade scheme for virtually unlimited number of linked devices to accommodate system integration with greater expandability and flexibility. The serial interface will provide additional performance improvement with higher clock rate, better signal integrity and lower power consumption. The serial interface also provides unlimited expandable I/O width without changing package configuration. Furthermore, the one-side pad architecture of a memory device in accordance with the invention, with fewer number of I/O, greatly reduces chip package size.

As stated earlier, the memory devices can be dual-bank memories, where each bank can be accessed by any serial link. The serial interface of the memory device greatly improves data throughput over traditional parallel interface schemes, while supporting feature-rich operations. For example, a program operation can be performed in 200 μs on a (2 K+64) byte page and an erase operation can be performed in 1.5 ms on a (128K+4K) byte block. An on-chip write controller may be used to automate all program and erase functions including pulse repetition, where used, and internal verification and margining of data. In write-intensive systems, ECC (Error Correcting Code) with real time mapping-out algorithm may be used to enhance the extended reliability of 100K program/erase cycles in the memory device.

The usefulness of the various aspects of the invention should be apparent to one skilled in the art. The use of any and all examples or exemplary language herein (e.g., “such as”) is intended merely to better illuminate the invention and does not pose a limitation on the scope of the invention unless otherwise claimed. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the invention.

The present invention has sometimes been described in terms of preferred and illustrative embodiments thereof. Numerous other embodiments, modifications and variations within the scope and spirit of the appended claims will occur to persons of ordinary skill in the art from a review of this disclosure. 

What is claimed is:
 1. A flash memory device comprising: a plurality of flash memory blocks; a clock input configured to receive a clock signal; a chip select input configured to receive a chip select signal; a plurality of serial data interfaces, each serial data interface configured to transfer a plurality of data streams in synchronization with the clock signal only when the chip select signal is in an active state; and control circuitry configured to: perform a program operation in response to a first data stream, the first data stream comprising a program command, a first address and write data, the write data configured to be programmed to a first flash memory block of the plurality of flash memory blocks and addressed by the first address, perform a read operation in response to a second data stream, the second data stream comprising a read command and a second address, the read operation configured to retrieve read data from a second flash memory block of the plurality of flash memory blocks and addressed by the second address, and transfer the read data as a third data stream before completing the program operation on the first flash memory block; and a status indicator configured to indicate whether the program operation is in progress.
 2. The flash memory device of claim 1, further comprising a second status indicator configured to indicate whether the read operation is in progress.
 3. The flash memory device of claim 1, further comprising an error correcting circuit (ECC) configured to correct an error in the read data if the error is detected.
 4. The flash memory device of claim 1, wherein the control circuitry comprises an addressing circuitry configured to parse a data stream to extract a location of a flash memory block of the plurality of flash memory blocks.
 5. The flash memory device of claim 1, further comprising an input buffer configured to receive the plurality of data streams, the input buffer enabled only when the chip select signal is in the active state.
 6. The flash memory device of claim 1, further comprising a temporary register configured to temporarily store the write data of the first data stream.
 7. The flash memory device of claim 1, further comprising a serial-to-parallel register configured to convert a serial data to a parallel data.
 8. The flash memory device of claim 1, further comprising a parallel-to-serial register configured to convert a parallel data to a serial data.
 9. The flash memory device of claim 1, wherein the clock signal is a free running clock signal.
 10. The flash memory device of claim 1, wherein each flash memory block comprises a plurality of NAND-type flash memory cells.
 11. The flash memory device of claim 1, wherein each flash memory block comprises a plurality of NOR-type flash memory cells.
 12. The flash memory device of claim 1, wherein the status indicator is comprised in a status register. 